/*
 * @Description: 设备管理
 * @Author: Wang ZhongWang
 * @Date: 2022-02-20 10:11:35
 * @LastEditTime: 2022-02-20 10:49:55
 * @LastEditors: Wang ZhongWang
 */

import request from '@/utils/request'

/**
 * 分页查询
 * @param query
 */
export function getVisualizeData(query) {
  var params = JSON.parse(JSON.stringify(query))
  return request({
    url: '/iot/dataOperation/getVisualizeData',
    method: 'post',
    data: params
  })
}

export function getLastNumData(query) {
  var params = JSON.parse(JSON.stringify(query))
  return request({
    url: '/iot/dataOperation/getLastNumData',
    method: 'post',
    data: params
  })
}


